package ejb.ebank.entities;

import java.io.Serializable;


import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;


@Entity
@Table(name="AcountState")
public class AccountState implements Serializable{

	/**
	 * Klasa reprezentujaca status konta
	 * 	Mozliwe stany:
	 *  -Zablokwane
	 *  -Usuniete
	 *	-Aktywne
	 * @author Damian
	 */
	private static final long serialVersionUID = 1L;
	
	
	private long stsid;
	private String status;

	@Id	
	@Column(name="sts_id")

	public long getStsid() {
		return stsid;
	}

	
	public void setStatus(String status) {
		this.status = status;
	}


	public String getStatus() {
		return status;
	}


	public void setStsid(long stsid) {
		this.stsid = stsid;
	}



	

}
